﻿using System.Reflection;

namespace WpfApp1.Acme.Template {
    /// <summary>
    /// Bean信息的扫描器负责对指定包下的类
    /// 进行加载、以及对Attribute的扫描
    /// </summary>
    internal interface BeanDefinitionScanner {
        /// <summary>
        /// 加载程序集
        /// </summary>
        /// <returns></returns>
        Assembly loadPackage() ;

        /// <summary>
        /// 扫描程序集中的类
        /// </summary>
        /// <param name="packagePath">包路径</param>
        /// <param name="assembly">程序集对象</param>
        void scanning(in string packagePath, Assembly assembly);
    }
}
